package com.copc.common.model.vo;

import com.copc.common.annotation.Validation;
import com.copc.common.constants.ValidConstants;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 投保人信息
 * @author: yuanbin
 * @date:Created in 2022/11/9 13:39
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Applicant {

    @ApiModelProperty(value = "客户姓名" )
    @Validation(message = "customerName不可为空")
    private String customerName;

    @ApiModelProperty(value = "性别" )
    @Validation(message = "gender不可为空")
    private String gender;

    @ApiModelProperty(value = "生日" )
    @Validation(message = "birthday")
    private String birthday;

    @ApiModelProperty(value = "证件类型" )
    @Validation(message = "idType不可为空")
    private String idType;

    @ApiModelProperty(value = "证件号码" )
    @Validation(message = "idNumber不可为空")
    private String idNumber;

    @ApiModelProperty(value = "手机号" )
    @Validation(message = "mobile手机号不能为空")
    private String mobile;

    @ApiModelProperty(value = "邮箱" )
//    @Validation(message = "email格式不正确",pattern = ValidConstants.EMAIL_VAILD)
    private String email;

    @ApiModelProperty(value = "投保所在地" )
    private String insuredarea;

    @ApiModelProperty(value = "国籍" )
    private String localPoliceStation;

    @ApiModelProperty(value = "省" )
    private String province;

    @ApiModelProperty(value = "市" )
    private String city;

    @ApiModelProperty(value = "区" )
    private String area;

    @ApiModelProperty(value = "地址" )
    private String address;

    @ApiModelProperty(value = "邮编" )
    private String postalCode;

    @ApiModelProperty(value = "开户行" )
    private String bank;

    @ApiModelProperty(value = "银行账号" )
    private String account;

    @ApiModelProperty(value = "开票地址" )
    private String taxAddress;

    @ApiModelProperty(value = "纳税人种类" )
    private String taxPayersKind;

    @ApiModelProperty(value = "税号" )
    private String taxCode;

    @ApiModelProperty(value = "紧急联系人姓名" )
    private String linkerName;

    @ApiModelProperty(value = "紧急联系人手机号" )
    private String linkerMobile;

    @ApiModelProperty(value = "紧急联系人地址" )
    private String linkerAddress;

    @ApiModelProperty(value = "职业代码" )
    private String occupationCode;


}
